import request from "../utils/request";
// 获取商品详情接口
export const getGoodsInfo = function(params) {
  return request("/item/index", params, "post", "form");
};
// https://api.ymduo.com/item/index
// item/evaluate
// 获取商品评论接口
// {gid:123,p:1}
export const getGoodsEvaluate = function(params) {
  return request("/item/evaluate", params, "post", "form");
};